package com.scmt.hmzd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author ycy
 * @since 2023-03-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="HmTechnician对象", description="")
public class HmTechnician implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "图片地址")
    private String cover;

    @ApiModelProperty(value = "技师简介")
    private String introduce;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "地址信息")
    private String address;

    @ApiModelProperty(value = "纬度")
    private Double lat;

    @ApiModelProperty(value = "经度")
    private Double lng;

    @ApiModelProperty(value = "是否上钟")
    private Integer isWork;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "工作照")
    private String workImg;

    @ApiModelProperty(value = "接单数量")
    private Integer orderNum;

    @ApiModelProperty(value = "评分")
    private Double star;

    @ApiModelProperty(value = "微信id")
    private String wxUserId;
    @ApiModelProperty(value = "微信id")
    private String wxUserName;

    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "添加时间")
    private Date createTime;

    @ApiModelProperty(value = "删除状态")
    private Integer delFlag;

    @ApiModelProperty(value = "最后一次登录时间")
    private Date lastLoginTime;

    //项目id list
    @TableField(exist = false)
    private List<String> projectList;

    /**
     * 距离
     */
    @TableField(exist = false)
    private String distance;
    /**
     * 最近可约时间
     */
    @TableField(exist = false)
    private String minWorkTime;

    /**
     * 项目id
     */
    @TableField(exist = false)
    private String projectId;
}
